export const HEAD_LIST = {
  A: [
    { prop: "applyNo", label: "进件编号" },
    { prop: "newName", label: "申请人" },
    { prop: "newIdNbr", label: "身份证号码" },
    { prop: "newPhone", label: "手机号码" },
    { prop: "newProductType", label: "产品名称" },
    { prop: "acceptorName", label: "受理人" },
    { prop: "acceptorOrgName", label: "所属机构" },
    { prop: "createTime", label: "申请提交时间", width: "120px" },
    { prop: "statusUpdateTime", label: "到达当前状态时间", width: "140px" },
    { prop: "statusStopTime", label: "当前状态停留时长", width: "140px" }
  ],
  Q: [
    { prop: "applyNo", label: "进件编号" },
    { prop: "newName", label: "申请人" },
    { prop: "newIdNbr", label: "身份证号码" },
    { prop: "newPhone", label: "手机号码" },
    { prop: "newProductType", label: "产品名称" },
    { prop: "newStatus", label: "当前状态" },
    { prop: "acceptorName", label: "受理人" },
    { prop: "acceptorOrgName", label: "所属机构" },
    { prop: "createTime", label: "申请提交时间", width: "120px" },
    { prop: "statusUpdateTime", label: "到达当前状态时间", width: "140px" },
    { prop: "statusStopTime", label: "当前状态停留时长", width: "140px" }
  ],
  AS: [
    { prop: "applyNo", label: "进件编号" },
    { prop: "organAddress", label: "单位地址" },
    { prop: "newName", label: "申请人" },
    { prop: "newGender", label: "性别" },
    { prop: "newIdNbr", label: "身份证号码" },
    { prop: "newPhone", label: "手机号码" },
    { prop: "newProductType", label: "产品名称" },
    { prop: "createTime", label: "申请提交时间", width: "120px" },
    // { prop: 'statusUpdateTime', label: '到达当前状态时间', width: '140px' },
    { prop: "statusStopTime", label: "当前状态停留时长", width: "140px" }
  ],
  M: [
    { prop: "applyNo", label: "进件编号" },
    { prop: "newName", label: "申请人" },
    { prop: "newIdNbr", label: "身份证号码" },
    { prop: "newPhone", label: "手机号码" },
    { prop: "newProductType", label: "产品名称" },
    { prop: "newStatus", label: "当前状态" },
    { prop: "acceptorName", label: "受理人" },
    { prop: "acceptorOrgName", label: "所属机构" },
    { prop: "createTime", label: "申请提交时间", width: "120px" },
    { prop: "statusUpdateTime", label: "到达当前状态时间", width: "140px" },
    { prop: "statusStopTime", label: "当前状态停留时长", width: "140px" }
  ]
};

export const BASIC_FORM = {
  A: [
    { prop: "applyNo", label: "进件编号", type: "input", isEdit: false },
    { prop: "newProductType", label: "产品名称", type: "input", isEdit: false },
    { prop: "newApplyAmount", label: "期望额度", type: "input", isEdit: false },
    { prop: "newCaseStatus", label: "当前状态", type: "input", isEdit: false },
    { prop: "acceptorNo", label: "受理人工号", type: "input", isEdit: false },
    { prop: "acceptorName", label: "受理人姓名", type: "input", isEdit: false },
    {
      prop: "acceptorOrgName",
      label: "受理人所属机构",
      type: "input",
      isEdit: false
    },
    { prop: "projectNo", label: "项目编码", type: "input", isEdit: false },
    { prop: "preAmount", label: "预审批额度", type: "textarea", isEdit: false },
    // { prop: "newSuggest", label: "年利率", type: "input", isEdit: false }
  ],
  Q: [
    { prop: "applyNo", label: "进件编号", type: "input", isEdit: false },
    { prop: "newProductType", label: "产品名称", type: "input", isEdit: false },
    { prop: "newApplyAmount", label: "期望额度", type: "input", isEdit: false },
    { prop: "newCaseStatus", label: "当前状态", type: "input", isEdit: false },
    { prop: "projectNo", label: "项目编码", type: "input", isEdit: false }
  ]
};
export const BASIC_FORM2 = {
  A: [
    { prop: "applyNo", label: "进件编号", type: "input", isEdit: false },
    { prop: "newProductType", label: "产品名称", type: "input", isEdit: false },
    { prop: "newCaseStatus", label: "当前状态", type: "input", isEdit: false },
    { prop: "applyAmount", label: "申请额度", type: "input", isEdit: false },
    { prop: "applyPeriods", label: "申请期限", type: "input", isEdit: false },
    {
      prop: "houseAssetTotalValue",
      label: "房产总估值",
      type: "input",
      isEdit: false
    },
    { prop: "maxCanLoan", label: "最高可申请", type: "input", isEdit: false },
    { prop: "acceptorNo", label: "受理人工号", type: "input", isEdit: false },
    { prop: "acceptorName", label: "受理人姓名", type: "input", isEdit: false },
    {
      prop: "acceptorOrgName",
      label: "受理人所属机构",
      type: "input",
      isEdit: false
    },
    { prop: "projectNo", label: "项目编码", type: "input", isEdit: false }
  ],
  Q: [
    { prop: "applyNo", label: "进件编号", type: "input", isEdit: false },
    { prop: "newProductType", label: "产品名称", type: "input", isEdit: false },
    { prop: "newCaseStatus", label: "当前状态", type: "input", isEdit: false },
   
  ],
  Q2:[
    { prop: "applyAmount", label: "申请金额", type: "input", isEdit: false },
    { prop: "applyPeriods", label: "申请期限", type: "input", isEdit: false },
    {
      prop: "houseAssetTotalValue",
      label: "房产总估值",
      type: "input",
      isEdit: false
    },
    { prop: "maxCanLoan", label: "最高可申请", type: "input", isEdit: false }
  ],
  Q4:[
    { prop: "applyAmount", label: "申请金额", type: "input", isEdit: false },
    { prop: "applyPeriods", label: "申请期限", type: "input", isEdit: false },
  ],
  Q3:[
    { prop: "acceptorNo", label: "受理人工号", type: "input", isEdit: false },
    { prop: "acceptorName", label: "受理人姓名", type: "input", isEdit: false },
    {
      prop: "acceptorOrgName",
      label: "受理人所属机构",
      type: "input",
      isEdit: false
    },
    { prop: "projectNo", label: "项目编码", type: "input", isEdit: false }
  ]
};

export const ORGAN_FORM = [
  {
    prop: "newOrganName",
    label: "单位名称",
    type: "input",
    isEdit: false,
    isView: true,
    viewProp: "organName"
  },
  {
    prop: "newOrgAdd",
    label: "单位地址",
    type: "input",
    isEdit: false,
    isView: true,
    viewProp: "organAddr"
  },
  {
    prop: "newOrgPhone",
    label: "单位电话",
    type: "input",
    isEdit: false,
    isView: true,
    viewProp: "organPhone"
  },
  {
    prop: "newCompanyLargeType",
    label: "单位资质",
    type: "input",
    isEdit: false
  },
  { prop: "departmentName", label: "任职部门", type: "input", isEdit: false },
  { prop: "positionName", label: "岗位名称", type: "input", isEdit: false },
  {
    prop: "newWorkTime",
    label: "现单位工作时间",
    type: "input",
    isEdit: false
  },
  {
    prop: "newSalaryBeforeTax",
    label: "税前月收入(元)",
    type: "input",
    isEdit: false
  }
];

export const CONTACT_FORM = [
  {
    prop: "contactName_1",
    label: "第一联系人姓名",
    width: "150px",
    type: "input",
    isEdit: false,
    isView: true,
    viewProp: "contactName"
  },
  {
    prop: "newContactRelation",
    label: "第一联系人关系",
    type: "input",
    width: "150px",
    isEdit: false
  },
  {
    prop: "contactPhone_1",
    label: "第一联系人手机号码",
    type: "input",
    width: "150px",
    isEdit: false,
    isView: true,
    viewProp: "contactPhone"
  },
  {
    prop: "newIsKnow",
    label: "是否知情",
    type: "input",
    width: "150px",
    isEdit: false
  }
];

export const CONTACT_TOW_FORM = [
  {
    prop: "contactName_2",
    label: "第二联系人姓名",
    width: "150px",
    type: "input",
    isEdit: false,
    isView: true,
    viewProp: "contactName"
  },
  {
    prop: "newContactRelation",
    label: "第二联系人关系",
    type: "input",
    width: "150px",
    isEdit: false
  },
  {
    prop: "contactPhone_2",
    label: "第二联系人手机号码",
    type: "input",
    width: "150px",
    isEdit: false,
    isView: true,
    viewProp: "contactPhone"
  },
  {
    prop: "newIsKnow",
    label: "是否知情",
    type: "input",
    width: "150px",
    isEdit: false
  }
];

// 申请件跟进记录表头
export const FOLLOW_HEAD_LIST = [
  { prop: "followPerson", label: "跟进人", width: "300px" },
  { prop: "createTime", label: "跟进时间", width: "300px" },
  { prop: "label", label: "标签", width: "300px" },
  { prop: "remark", label: "跟进记录" }
];

// 申请件审批记录表头
export const APPROVAL_HEAD_LIST = [
  { prop: "newRes", label: "审批结果", width: "300px" },
  { prop: "newType", label: "审批类型", width: "300px" },
  { prop: "createTime", label: "审批时间", width: "300px" },
  { prop: "auditAdvice", label: "审批备注" }
];

export const CUR_SATUS = {
  "1": "申请确认",
  "2": "审批拒绝"
};

// 分派受理人
export const ACCEPTOR_HEAD_LIST = [
  { prop: "realName", label: "员工姓名" },
  { prop: "userName", label: "工号" },
  { prop: "organizationName", label: "所属机构" }
];

export const BC_CL = [
  "EDUCATION",
  "ASSET",
  "TAX",
  "INSURANCE",
  "HOUSE_FUND",
  "SALARY",
  "WORK",
  "VISIT",
  "OTHER"
];
export const BC_CL2 = [
  "MARRIAGE",
  "GUARANTEE",
  "RENT",
  "CLEAN_PRACTICE",
  "DUE_DILIGENCE",
  "VISIT",
  "HOUSE_FUND",
  "TAX",
  "SALARY",
  "OTHER"
];

export const FLOW_STEP_1 = {
  APPLY_SUBMIT: "申请提交",
  WAIT_ASSIGN: "受理分派",
  APPLY_CONFIRM: "申请确认",
  PRE_AUDIT: "预审批",
  PRE_CONFIRM: "进件补件",
  RESEARCH: "贷前调查",
  QUOTA_AUDIT: "授信审批",
  QUOTA_COMPLETE: "授信完成",
  AUDIT_REJECT: "审批拒绝"
};
export const IMAGE_TYPE = {
  TAX: "个税证明",
  HOUSE_FUND: "公积金证明",
  INSURANCE: "社保/医保证明",
  ASSET: "产权证明",
  EDUCATION: "学历证明",
  SALARY: "工资流水证明",
  VISIT: "亲访证明",
  OTHER: "其他资料"
};

export const IMAGE_JYDTYPE = {
  MARRIAGE: "婚姻/单身证明",
  GUARANTEE: "抵押物证明",
  RENT: "出租情况证明",
  VISIT: "亲访照片",
  // HOUSE_FUND: "公积金",
  // TAX: "个税",
  // SALARY: "收入证明",
  HOUSE_FUND_TAX_SALARY: "公积金/个税/收入证明",
  CLEAN_PRACTICE: "廉洁从业告知书+用途材料",
  DUE_DILIGENCE: "尽职调查报告",
  OTHER: "其他资料"
};
export const STEP_CONTENT_JYD = {
  MORTGAGE_AUDIT:[
    {
      createTime: "",
      flowDesc: null,
      flowStep: "LOAN_COMPLETE"
    },
  ],
  IMPLEMENT_MORTGAGE:[
    {
      createTime: "",
      flowDesc: null,
      flowStep: "MORTGAGE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "LOAN_COMPLETE"
    },
    
  ],
  APPROVE_CONFIRM:[
    {
      createTime: "",
      flowDesc: null,
      flowStep: "IMPLEMENT_MORTGAGE"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "MORTGAGE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "LOAN_COMPLETE"
    }
  ],
  QUOTA_AUDIT:[
    {
      createTime: "",
      flowDesc: null,
      flowStep: "IMPLEMENT_MORTGAGE"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "MORTGAGE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "LOAN_COMPLETE"
    }
  ],
  RESEARCH:[
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "IMPLEMENT_MORTGAGE"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "MORTGAGE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "LOAN_COMPLETE"
    }
  ],
  FIRST_AUDIT:[
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "IMPLEMENT_MORTGAGE"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "MORTGAGE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "LOAN_COMPLETE"
    }
  ],
  BACK_PATCH:[
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "IMPLEMENT_MORTGAGE"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "MORTGAGE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "LOAN_COMPLETE"
    }
  ],
  PRE_CONFIRM:[
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "IMPLEMENT_MORTGAGE"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "MORTGAGE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "LOAN_COMPLETE"
    }
  ],
  PRE_AUDIT:[
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_CONFIRM"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "IMPLEMENT_MORTGAGE"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "MORTGAGE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "LOAN_COMPLETE"
    }
  ],
  WAIT_AMEND:[
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_CONFIRM"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "IMPLEMENT_MORTGAGE"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "MORTGAGE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "LOAN_COMPLETE"
    }
  ],
  FIRST_FILTER:[
    {
      createTime: "",
      flowDesc: null,
      flowStep: "WAIT_AMEND"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_CONFIRM"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "IMPLEMENT_MORTGAGE"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "MORTGAGE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "LOAN_COMPLETE"
    }
  ],
  APPLY_SUBMIT:[
    {
      createTime: "",
      flowDesc: null,
      flowStep: "FIRST_FILTER"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "WAIT_AMEND"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_CONFIRM"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "IMPLEMENT_MORTGAGE"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "MORTGAGE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "LOAN_COMPLETE"
    }
  ]
}

export const STEP_CONTENT = {
  PRE_CONFIRM: [
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_COMPLETE"
    }
  ],
  FIRST_AUDIT: [
    // {
    //   createTime: '',
    //   flowDesc: null,
    //   flowStep: 'RESEARCH'
    // },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_COMPLETE"
    }
  ],
  RESEARCH: [
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_COMPLETE"
    }
  ],
  QUOTA_AUDIT: [
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_COMPLETE"
    }
  ],
  APPLY_SUBMIT: [
    {
      createTime: "",
      flowDesc: null,
      flowStep: "WAIT_ASSIGN"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "APPLY_CONFIRM"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_CONFIRM"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_COMPLETE"
    }
  ],
  WAIT_ASSIGN: [
    {
      createTime: "",
      flowDesc: null,
      flowStep: "APPLY_CONFIRM"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_CONFIRM"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_COMPLETE"
    }
  ],
  APPLY_CONFIRM: [
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_CONFIRM"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_COMPLETE"
    }
  ],
  PRE_AUDIT: [
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_CONFIRM"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_COMPLETE"
    }
  ],
  BACK_PATCH: [
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_COMPLETE"
    }
  ],
  NOT: [
    {
      createTime: "",
      flowDesc: null,
      flowStep: "APPLY_SUBMIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "WAIT_ASSIGN"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "APPLY_CONFIRM"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "PRE_CONFIRM"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_AUDIT"
    },
    {
      createTime: "",
      flowDesc: null,
      flowStep: "QUOTA_COMPLETE"
    }
  ]
};
export const STEP_FORM = {
  APPLY_CONFIRM: [
    { prop: "acceptorNo", label: "受理人工号", type: "input", isEdit: false },
    { prop: "acceptorName", label: "受理人姓名", type: "input", isEdit: false },
    {
      prop: "acceptorOrgName",
      label: "受理人所属机构",
      type: "input",
      isEdit: false
    }
  ],
  PRE_CONFIRM: [
    { prop: "preAmount", label: "预审批额度", type: "input", isEdit: false }
    // { prop: "newSuggest", label: "预审批年化利率", type: "input", isEdit: false }
  ],
  PRE_CONFIRM_2: [
    { prop: "newPreMaxPeriods", label: "预计授信最长期数", type: "textarea", isEdit: false },
    { prop: "newPreSuggestRate", label: "预计授信年利率", type: "textarea", isEdit: false }
  ],
  RESEARCH: [
    { prop: "newApproveAmount", label: "批核额度", type: "input", isEdit: false },
    { prop: "newFee", label: "支持还款方式", type: "input", isEdit: false },
    { prop: "newIrrRate", label: "批核年利率", type: "textarea", isEdit: false },
    { prop: "newMaxPeriods", label: "最长借款期数", type: "textarea", isEdit: false }
  ],
  ASSESSMENT: [
    {
      prop: "houseAssetTotalValue",
      label: "房产总估值",
      type: "input",
      isEdit: false
    },
    { prop: "maxCanLoan", label: "最高可申请", type: "input", isEdit: false }
  ],
  ASSESSMENT_AMOUNT: [
    { prop: "approveAmount", label: "批核金额", type: "input", isEdit: false },
    { prop: "approvePeriods", label: "批核期数", type: "input", isEdit: false },
    {
      prop: "approveIrrRate",
      label: "批核年利率",
      type: "input",
      isEdit: false
    }
  ]
};
export const PRODUCTTYPE = {
  JYD: "JYD",
  JXD: "JXD"
};
